package com.yunc.modules.cms.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yunc.modules.cms.entity.CircleContent;
import com.yunc.modules.cms.mapper.CircleContentMapper;
import com.yunc.modules.cms.service.ICircleContentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 动弹内容发布 service实现
 *
 * @author concong tao
 * @since 2019-03-09
 */
@Service("circleContentService")
public class CircleContentServiceImpl extends ServiceImpl<CircleContentMapper, CircleContent> implements ICircleContentService {

    @Autowired
    private CircleContentMapper circleContentMapper;

    @Override
    public List<CircleContent> listSize(long id, int size) {
        return circleContentMapper.listEntity(id, size);
    }
}
